package xinyu.customer.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

/**
 * description ： TODO:类的作用
 * author : SIGHT-WXC
 * email : 391335693@qq.com
 * date : 2020-04-23 14:38
 */
public class NewsMainNetTopBean {


    /**
     * forum_unread_nums : 0
     * system_unread_nums : 0
     * video_voice_unread_nums : 2
     * group_unread_nums : 0
     */

    @SerializedName("forum_unread_nums")
    private int mForumUnreadNums;
    @SerializedName("system_unread_nums")
    private int mSystemUnreadNums;
    @SerializedName("video_voice_unread_nums")
    private int mVideoVoiceUnreadNums;
    @SerializedName("group_unread_nums")
    private int mGroupUnreadNums;

    public static NewsMainNetTopBean objectFromData(String str) {

        return new Gson().fromJson(str, NewsMainNetTopBean.class);
    }

    public int getForumUnreadNums() {
        return mForumUnreadNums;
    }

    public void setForumUnreadNums(int forumUnreadNums) {
        mForumUnreadNums = forumUnreadNums;
    }

    public int getSystemUnreadNums() {
        return mSystemUnreadNums;
    }

    public void setSystemUnreadNums(int systemUnreadNums) {
        mSystemUnreadNums = systemUnreadNums;
    }

    public int getVideoVoiceUnreadNums() {
        return mVideoVoiceUnreadNums;
    }

    public void setVideoVoiceUnreadNums(int videoVoiceUnreadNums) {
        mVideoVoiceUnreadNums = videoVoiceUnreadNums;
    }

    public int getGroupUnreadNums() {
        return mGroupUnreadNums;
    }

    public void setGroupUnreadNums(int groupUnreadNums) {
        mGroupUnreadNums = groupUnreadNums;
    }
}
